package com.zenchn.service;

import com.zenchn.generic.GenericService;
import com.zenchn.model.TSysAccount;
import com.zenchn.model.TSysAccountRoleMapper;
import com.zenchn.model.TSysAccountRoleMapperExample;

import java.util.List;

/**
 * AccountRoleMapperService：
 * 系统账户 角色映射接口
 * @author dingxinfa
 * @date 2020-04-16 11:04
 */
public interface AccountRoleMapperService extends GenericService<TSysAccountRoleMapper,String, TSysAccountRoleMapperExample> {

    /**
     * 通过角色id列表  查询角色包含账户
     *
     * @param roleIds
     * @return
     */
    List<TSysAccount> selectAccountByRoleIds(List<String> roleIds);
}
